package org.spring.demo.entity;

import java.util.Date;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;
@Document(collection="building")
public class Building {

	@Id
	private String id;
	private String buildingStructure;
	private String open;
    private Date updateDate;
    private Date createDate;
    private String cityId;
	private String cityName;
	private String districtId;
	private String districtName;
	private String communityId;
	private String communityName;
	private String address;
	private String buildingName;
	private String cell;
	private int totalFloor;
	private int overGroundFloor;
	private int underGroundFloor;
    private String buildingQuality;
    private String buildYear;
    private String isDeleted;
    private String isWhite;
    private String hasElevator;
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getBuildingStructure() {
		return buildingStructure;
	}
	public void setBuildingStructure(String buildingStructure) {
		this.buildingStructure = buildingStructure;
	}
	public String getOpen() {
		return open;
	}
	public void setOpen(String open) {
		this.open = open;
	}
	public Date getUpdateDate() {
		return updateDate;
	}
	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}
	public Date getCreateDate() {
		return createDate;
	}
	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}
	public String getCityId() {
		return cityId;
	}
	public void setCityId(String cityId) {
		this.cityId = cityId;
	}
	public String getCityName() {
		return cityName;
	}
	public void setCityName(String cityName) {
		this.cityName = cityName;
	}
	public String getDistrictId() {
		return districtId;
	}
	public void setDistrictId(String districtId) {
		this.districtId = districtId;
	}
	public String getDistrictName() {
		return districtName;
	}
	public void setDistrictName(String districtName) {
		this.districtName = districtName;
	}
	public String getCommunityId() {
		return communityId;
	}
	public void setCommunityId(String communityId) {
		this.communityId = communityId;
	}
	public String getCommunityName() {
		return communityName;
	}
	public void setCommunityName(String communityName) {
		this.communityName = communityName;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getBuildingName() {
		return buildingName;
	}
	public void setBuildingName(String buildingName) {
		this.buildingName = buildingName;
	}
	public String getCell() {
		return cell;
	}
	public void setCell(String cell) {
		this.cell = cell;
	}
	public int getTotalFloor() {
		return totalFloor;
	}
	public void setTotalFloor(int totalFloor) {
		this.totalFloor = totalFloor;
	}
	public int getOverGroundFloor() {
		return overGroundFloor;
	}
	public void setOverGroundFloor(int overGroundFloor) {
		this.overGroundFloor = overGroundFloor;
	}
	public int getUnderGroundFloor() {
		return underGroundFloor;
	}
	public void setUnderGroundFloor(int underGroundFloor) {
		this.underGroundFloor = underGroundFloor;
	}
	public String getBuildingQuality() {
		return buildingQuality;
	}
	public void setBuildingQuality(String buildingQuality) {
		this.buildingQuality = buildingQuality;
	}
	public String getBuildYear() {
		return buildYear;
	}
	public void setBuildYear(String buildYear) {
		this.buildYear = buildYear;
	}
	public String getIsDeleted() {
		return isDeleted;
	}
	public void setIsDeleted(String isDeleted) {
		this.isDeleted = isDeleted;
	}
	public String getIsWhite() {
		return isWhite;
	}
	public void setIsWhite(String isWhite) {
		this.isWhite = isWhite;
	}
	public String getHasElevator() {
		return hasElevator;
	}
	public void setHasElevator(String hasElevator) {
		this.hasElevator = hasElevator;
	}
    
    
}
